<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"><HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
<META NAME="GENERATOR" CONTENT="Adobe FrameMaker 7.0/HTML Export Filter">
<LINK REL="STYLESHEET" HREF="KDM_1.0_7_intro.css" CHARSET="ISO-8859-1" TYPE="text/css">
<TITLE> 7	Specification Overview</TITLE>
</HEAD>
<BODY BGCOLOR="#ffffff">
<DIV>
<H6 CLASS="Heading">
<A NAME="pgfId-998826"></A><A NAME="58728"></A>Specification Overview</H6>
<P CLASS="Body">
<A NAME="pgfId-1086553"></A>This specification defines a meta-model for representing information related to existing software assets, their associations and operational environments (referred to as the Knowledge Discovery Meta-model (KDM)).</P>
<P CLASS="Body">
<A NAME="pgfId-1086554"></A>The KDM provides a common interchange format that allows interoperability between existing software analysis and modernization tools, services, and their respective models. More specifically, (KDM) provides a common repository structure that facilitates the exchange of data currently contained within individual tool models that represent existing software assets. The meta-model represents the physical and logical software assets at various levels of abstraction as entities and relations.</P>
<P CLASS="Body">
<A NAME="pgfId-1086555"></A>KDM separates knowledge about existing systems into several orthogonal facets that are well-known in software engineering and are often referred to as Architecture Views. </P>
<P CLASS="Body">
<A NAME="pgfId-1085507"></A>&nbsp;</P>
<DIV>
<IMG SRC="KDM_1.0_7_intro-1.gif">
</DIV>
<DIV>
<H6 CLASS="FigureCaption1">
<A NAME="pgfId-1086566"></A><A NAME="97299"></A>- Layers, packages and separation of concerns in KDM</H6>
<P CLASS="Body">
<A NAME="pgfId-1086661"></A>KDM specification is organized into the following 4 layers:</P>
<UL>
<LI CLASS="Bullet1">
<A NAME="pgfId-1086662"></A>KDM Infrastructure Layer</LI>
<LI CLASS="Bullet1">
<A NAME="pgfId-1086663"></A>Program Elements Layer</LI>
<LI CLASS="Bullet1">
<A NAME="pgfId-1086664"></A>Runtime Resource Layer</LI>
<LI CLASS="Bullet1">
<A NAME="pgfId-1086665"></A>Abstractions Layer</LI>
</UL>
<P CLASS="Body">
<A NAME="pgfId-1086667"></A>Each layer is further organized into packages. Each package defines a set of meta-model elements whose purpose is to represent a certain independent facet of knowledge related to existing software systems. </P>
<P CLASS="Body">
<A NAME="pgfId-1086669"></A>Logically, KDM consists of 9 models. Each KDM model is described by one KDM package. </P>
<P CLASS="Body">
<A NAME="pgfId-1086671"></A>The KDM Infrastructure Layer consists of the following 3 packages: Core, kdm and Source. Core and kdm packages do not describe separate KDM models. Instead these packages define common meta-model elements that constitute the infrastructure for other packages. The Source package defines the Inventory model, which enumerates the artifacts of the existing software system and defines the mechanism of traceability links between the KDM elements and their original representation in the &quot;source code&quot; of the existing software system.</P>
<P CLASS="Body">
<A NAME="pgfId-1086673"></A>The Program Elements Layer consists of the Code and Action packages. These packages collectively define the Code model which represents the implementation level assets of the existing software system, determined by the programming languages used in the developments of the existing software system. The Code package focuses on the named items from the &quot;source code&quot; and several basic structural relationships between them. The Action package focuses on behavior descriptions and control- and data-flow relationships determined by them. The Action package is extended by other KDM packages to describe higher-level behavior abstractions that are key elements of knowledge about existing software systems.</P>
<P CLASS="Body">
<A NAME="pgfId-1086675"></A>The Runtime Resource Layer consists of the following 4 packages: Platform, UI, Event and Data. </P>
<P CLASS="Body">
<A NAME="pgfId-1086677"></A>The Abstractions Layer consists of the following 3 packages: Structure, Conceptual, Build.</P>
<P CLASS="Body">
<A NAME="pgfId-1086659"></A>Each of these knowledge facets contains large amounts of information, impossible to be processed at once by human beings. To overcome such a roadblock, each dimension supports the capability to aggregate (summarize) information to different levels of abstraction. This requires KDM to be scalable. In addition, KDM represents both kinds of information: primary and aggregate information. Primary information is assumed to be automatically extracted from the source code and other artifacts, including (but not restricted to) formal models, build scripts, configuration files, data definition files. Some (or even all) primary information can be provided manually by analysts and experts. Aggregate information is obtained from primary information.</P>
<P CLASS="Body">
<A NAME="pgfId-1086585"></A>Knowledge Discovery exists at progressively deeper levels of understanding, reflecting varying levels required to achieve different objectives. These were seen as the lexical or syntactic understanding of the program code (language-dependent level); the understanding of the application functionality and design (language-independent level); understanding of application packaging and the corresponding dependencies (architecture level); and an understanding of the applications behavior (business level). </P>
<P CLASS="Body">
<A NAME="pgfId-1086586"></A>The following are key design characteristics of KDM:</P>
<UL>
<LI CLASS="Bullet1">
<A NAME="pgfId-1086587"></A>KDM is a MOF model</LI>
<LI CLASS="Bullet1">
<A NAME="pgfId-1086631"></A>KDM is an Entiry-Relationship model</LI>
<LI CLASS="Bullet1">
<A NAME="pgfId-1086588"></A> KDM defines an ontology for describing existing software systems</LI>
<LI CLASS="Bullet1">
<A NAME="pgfId-1086589"></A>KDM can be extended to capture language-specific, application-specific and implementation-specific entities and relationships</LI>
<LI CLASS="Bullet1">
<A NAME="pgfId-1086590"></A>KDM defines multiple hierarchies of entities via containers and groups</LI>
<LI CLASS="Bullet1">
<A NAME="pgfId-1086594"></A>KDM models are composable (it is possible to group several entities into a typed container, that will further on represent the entire collection of grouped entities via aggregated relationships)</LI>
<LI CLASS="Bullet1">
<A NAME="pgfId-1086596"></A>Analyst is able to refactor the model (for example, by moving entities between containers) and map changes in the model to changes in the software through traceability links</LI>
<LI CLASS="Bullet1">
<A NAME="pgfId-1086715"></A>KDM is aligned with ISO/IEC 11404 Language-Independent Datatypes and SBVR</LI>
</UL>
<P CLASS="Body">
<A NAME="pgfId-1082572"></A>&nbsp;</P>
</DIV>
</DIV>
</BODY>
</HTML>
